package com.ruoyi.scenery.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 预订信息管理对象 scenery_reserve
 * 
 * @author ruoyi
 * @date 2023-04-13
 */
public class SceneryReserve extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 预约id */
    private Long reserveId;

    /** 游客id */
    @Excel(name = "游客id")
    private Long touristId;

    /** 预约时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date reserveTime;

    /** 预约地点 */
    @Excel(name = "预约地点")
    private String reserveSite;

    /** 下单时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderTime;

    /** 实际支付金额 */
    @Excel(name = "实际支付金额")
    private Long actualPayment;

    public void setReserveId(Long reserveId) 
    {
        this.reserveId = reserveId;
    }

    public Long getReserveId() 
    {
        return reserveId;
    }
    public void setTouristId(Long touristId) 
    {
        this.touristId = touristId;
    }

    public Long getTouristId() 
    {
        return touristId;
    }
    public void setReserveTime(Date reserveTime) 
    {
        this.reserveTime = reserveTime;
    }

    public Date getReserveTime() 
    {
        return reserveTime;
    }
    public void setReserveSite(String reserveSite) 
    {
        this.reserveSite = reserveSite;
    }

    public String getReserveSite() 
    {
        return reserveSite;
    }
    public void setOrderTime(Date orderTime) 
    {
        this.orderTime = orderTime;
    }

    public Date getOrderTime() 
    {
        return orderTime;
    }
    public void setActualPayment(Long actualPayment) 
    {
        this.actualPayment = actualPayment;
    }

    public Long getActualPayment() 
    {
        return actualPayment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("reserveId", getReserveId())
            .append("touristId", getTouristId())
            .append("reserveTime", getReserveTime())
            .append("reserveSite", getReserveSite())
            .append("orderTime", getOrderTime())
            .append("actualPayment", getActualPayment())
            .toString();
    }
}
